list(APPEND WEBCORE_SRC
    dom/ActiveDOMObject.cpp
    dom/Attr.cpp
    dom/Attribute.cpp
    dom/BeforeTextInsertedEvent.cpp
    dom/BeforeUnloadEvent.cpp
    dom/CDATASection.cpp
    dom/CSSMappedAttributeDeclaration.cpp
    dom/CharacterData.cpp
    dom/CheckedRadioButtons.cpp
    dom/ChildNodeList.cpp
    dom/ClassNames.cpp
    dom/ClassNodeList.cpp
    dom/ClientRect.cpp
    dom/ClientRectList.cpp
    dom/Clipboard.cpp
    dom/ClipboardEvent.cpp
    dom/Comment.cpp
    dom/ContainerNode.cpp
    dom/DOMImplementation.cpp
    dom/Document.cpp
    dom/DocumentFragment.cpp
    dom/DocumentType.cpp
    dom/DynamicNodeList.cpp
    dom/EditingText.cpp
    dom/Element.cpp
    dom/Entity.cpp
    dom/EntityReference.cpp
    dom/Event.cpp
    dom/EventNames.cpp
    dom/EventTarget.cpp
    dom/ExceptionBase.cpp
    dom/ExceptionCode.cpp
    dom/InputElement.cpp
    dom/KeyboardEvent.cpp
    dom/MappedAttribute.cpp
    dom/MessageChannel.cpp
    dom/MessageEvent.cpp
    dom/MessagePort.cpp
    dom/MessagePortChannel.cpp
    dom/MouseEvent.cpp
    dom/MouseRelatedEvent.cpp
    dom/MutationEvent.cpp
    dom/NameNodeList.cpp
    dom/NamedAttrMap.cpp
    dom/NamedMappedAttrMap.cpp
    dom/Node.cpp
    dom/NodeFilter.cpp
    dom/NodeFilterCondition.cpp
    dom/NodeIterator.cpp
    dom/Notation.cpp
    dom/OptionElement.cpp
    dom/OptionGroupElement.cpp
    dom/OverflowEvent.cpp
    dom/Position.cpp
    dom/PositionIterator.cpp
    dom/ProcessingInstruction.cpp
    dom/ProgressEvent.cpp
    dom/QualifiedName.cpp
    dom/Range.cpp
    dom/RegisteredEventListener.cpp
    dom/ScriptElement.cpp
    dom/ScriptExecutionContext.cpp
    dom/SelectElement.cpp
    dom/SelectorNodeList.cpp
    dom/StaticNodeList.cpp
    dom/StyleElement.cpp
    dom/StyledElement.cpp
    dom/TagNodeList.cpp
    dom/Text.cpp
    dom/TextEvent.cpp
    dom/Traversal.cpp
    dom/TreeWalker.cpp
    dom/UIEvent.cpp
    dom/UIEventWithKeyState.cpp
    dom/WebKitAnimationEvent.cpp
    dom/WebKitTransitionEvent.cpp
    dom/WheelEvent.cpp
    dom/XMLTokenizer.cpp
    dom/XMLTokenizerScope.cpp
    dom/default/PlatformMessagePortChannel.cpp
)

if(USE_GRAPHICS_QT)
    list(APPEND WEBCORE_SRC
        dom/XMLTokenizerQt.cpp
    )
else(USE_GRAPHICS_QT)
    list(APPEND WEBCORE_SRC 
        dom/XMLTokenizerLibxml2.cpp
    )
endif(USE_GRAPHICS_QT)

list(APPEND IDL_SRC
    dom/Attr.idl
    dom/CharacterData.idl
    dom/ClientRect.idl
    dom/ClientRectList.idl
    dom/Clipboard.idl
    dom/CDATASection.idl
    dom/Comment.idl
    dom/DocumentFragment.idl
    dom/Document.idl
    dom/DocumentType.idl
    dom/DOMCoreException.idl
    dom/DOMImplementation.idl
    dom/Element.idl
    dom/Entity.idl
    dom/EntityReference.idl
    dom/Event.idl
    dom/EventException.idl
    dom/KeyboardEvent.idl
    dom/MessageChannel.idl
    dom/MessageEvent.idl
    dom/MessagePort.idl
    dom/MouseEvent.idl
    dom/MutationEvent.idl
    dom/NamedNodeMap.idl
    dom/Node.idl
    dom/NodeFilter.idl
    dom/NodeIterator.idl
    dom/NodeList.idl
    dom/Notation.idl
    dom/OverflowEvent.idl
    dom/ProcessingInstruction.idl
    dom/ProgressEvent.idl
    dom/RangeException.idl
    dom/Range.idl
    dom/Text.idl
    dom/TextEvent.idl
    dom/TreeWalker.idl
    dom/UIEvent.idl
    dom/WebKitAnimationEvent.idl
    dom/WebKitTransitionEvent.idl
    dom/WheelEvent.idl
)
